<PAMDataset>
  <PAMRasterBand band="1">
    <Histograms>
      <HistItem>
        <HistMin>-0.5</HistMin>
        <HistMax>4.5</HistMax>
        <BucketCount>4</BucketCount>
        <IncludeOutOfRange>0</IncludeOutOfRange>
        <Approximate>0</Approximate>
        <HistCounts>1|0|1|2</HistCounts>
      </HistItem>
      <HistItem>
        <HistMin>-0.4</HistMin>
        <HistMax>4.4</HistMax>
        <BucketCount>5</BucketCount>
        <IncludeOutOfRange>0</IncludeOutOfRange>
        <Approximate>0</Approximate>
        <HistCounts>1|0|1|0|2</HistCounts>
      </HistItem>
    </Histograms>
    <GDALRasterAttributeTable tableType="thematic">
      <FieldDefn index="0">
        <Name>Value</Name>
        <Type>0</Type>
        <Usage>5</Usage>
      </FieldDefn>
      <FieldDefn index="1">
        <Name>Count</Name>
        <Type>0</Type>
        <Usage>1</Usage>
      </FieldDefn>
      <FieldDefn index="2">
        <Name>Class</Name>
        <Type>2</Type>
        <Usage>2</Usage>
      </FieldDefn>
      <FieldDefn index="3">
        <Name>Class2</Name>
        <Type>2</Type>
        <Usage>2</Usage>
      </FieldDefn>
      <FieldDefn index="4">
        <Name>Class3</Name>
        <Type>2</Type>
        <Usage>0</Usage>
      </FieldDefn>
      <FieldDefn index="5">
        <Name>Red</Name>
        <Type>0</Type>
        <Usage>6</Usage>
      </FieldDefn>
      <FieldDefn index="6">
        <Name>Green</Name>
        <Type>0</Type>
        <Usage>7</Usage>
      </FieldDefn>
      <FieldDefn index="7">
        <Name>Blue</Name>
        <Type>0</Type>
        <Usage>8</Usage>
      </FieldDefn>
      <Row index="0">
        <F>0</F>
        <F>1</F>
        <F>zero</F>
        <F>zero2</F>
        <F>zero3</F>
        <F>0</F>
        <F>10</F>
        <F>100</F>
      </Row>
      <Row index="1">
        <F>2</F>
        <F>1</F>
        <F>one</F>
        <F>one2</F>
        <F>one3</F>
        <F>100</F>
        <F>20</F>
        <F>0</F>
      </Row>
      <Row index="2">
        <F>4</F>
        <F>2</F>
        <F>two</F>
        <F>two2</F>
        <F>two3</F>
        <F>200</F>
        <F>30</F>
        <F>50</F>
      </Row>
    </GDALRasterAttributeTable>
    <Metadata>
      <MDI key="STATISTICS_MAXIMUM">4</MDI>
      <MDI key="STATISTICS_MEAN">2.5</MDI>
      <MDI key="STATISTICS_MINIMUM">0</MDI>
      <MDI key="STATISTICS_STDDEV">1.6583123951777</MDI>
      <MDI key="STATISTICS_VALID_PERCENT">100</MDI>
    </Metadata>
  </PAMRasterBand>
  <PAMRasterBand band="2">
    <Histograms>
      <HistItem>
        <HistMin>0.5</HistMin>
        <HistMax>5.5</HistMax>
        <BucketCount>4</BucketCount>
        <IncludeOutOfRange>0</IncludeOutOfRange>
        <Approximate>0</Approximate>
        <HistCounts>1|0|1|2</HistCounts>
      </HistItem>
      <HistItem>
        <HistMin>0.6</HistMin>
        <HistMax>5.4</HistMax>
        <BucketCount>5</BucketCount>
        <IncludeOutOfRange>0</IncludeOutOfRange>
        <Approximate>0</Approximate>
        <HistCounts>1|0|1|0|2</HistCounts>
      </HistItem>
    </Histograms>
    <GDALRasterAttributeTable tableType="thematic">
      <FieldDefn index="0">
        <Name>Value</Name>
        <Type>0</Type>
        <Usage>5</Usage>
      </FieldDefn>
      <FieldDefn index="1">
        <Name>Count</Name>
        <Type>0</Type>
        <Usage>1</Usage>
      </FieldDefn>
      <FieldDefn index="2">
        <Name>Class</Name>
        <Type>2</Type>
        <Usage>2</Usage>
      </FieldDefn>
      <FieldDefn index="3">
        <Name>Class2</Name>
        <Type>2</Type>
        <Usage>2</Usage>
      </FieldDefn>
      <FieldDefn index="4">
        <Name>Class3</Name>
        <Type>2</Type>
        <Usage>0</Usage>
      </FieldDefn>
      <FieldDefn index="5">
        <Name>Red</Name>
        <Type>0</Type>
        <Usage>6</Usage>
      </FieldDefn>
      <FieldDefn index="6">
        <Name>Green</Name>
        <Type>0</Type>
        <Usage>7</Usage>
      </FieldDefn>
      <FieldDefn index="7">
        <Name>Blue</Name>
        <Type>0</Type>
        <Usage>8</Usage>
      </FieldDefn>
      <Row index="0">
        <F>1</F>
        <F>1</F>
        <F>one</F>
        <F>one2</F>
        <F>one3</F>
        <F>100</F>
        <F>20</F>
        <F>10</F>
      </Row>
      <Row index="1">
        <F>3</F>
        <F>1</F>
        <F>three</F>
        <F>three2</F>
        <F>three3</F>
        <F>200</F>
        <F>10</F>
        <F>20</F>
      </Row>
      <Row index="2">
        <F>5</F>
        <F>2</F>
        <F>five</F>
        <F>five2</F>
        <F>five3</F>
        <F>50</F>
        <F>40</F>
        <F>250</F>
      </Row>
    </GDALRasterAttributeTable>
    <Metadata>
      <MDI key="STATISTICS_MAXIMUM">5</MDI>
      <MDI key="STATISTICS_MEAN">3.5</MDI>
      <MDI key="STATISTICS_MINIMUM">1</MDI>
      <MDI key="STATISTICS_STDDEV">1.6583123951777</MDI>
      <MDI key="STATISTICS_VALID_PERCENT">100</MDI>
    </Metadata>
  </PAMRasterBand>
</PAMDataset>
